package com.jied.duodian.service;

import com.jied.duodian.entity.DdUser;

/**
 * Description:
 *
 * @author LiJie
 * @date Created on 2020/10/30
 * WWW https://github.com/j6l
 */
public interface AuthService {

    Integer register(DdUser userToAdd);

    String login(String username, String password);

    String refresh(String oldToken);
}
